package com.cyzy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user")
public class User {

  @TableId(value = "user_id", type = IdType.AUTO)
  private long userId;
  @TableField("dept_id")
  private long deptId;
  @TableField("user_name")
  private String userName;
  @TableField("nick_name")
  private String nickName;
  @TableField("user_type")
  private String userType;
  @TableField("email")
  private String email;
  @TableField("phonenumber")
  private String phonenumber;
  @TableField("sex")
  private String sex;
  @TableField("avatar")
  private String avatar;
  @TableField("password")
  private String password;
  @TableField("status")
  private String status;
  @TableField("del_flag")
  private String delFlag;
  @TableField("login_ip")
  private String loginIp;
  @TableField("login_date")
  private java.sql.Timestamp loginDate;
  @TableField("pwd_update_date")
  private java.sql.Timestamp pwdUpdateDate;
  @TableField("create_by")
  private String createBy;
  @TableField("create_time")
  private java.sql.Timestamp createTime;
  @TableField("update_by")
  private String updateBy;
  @TableField("update_time")
  private java.sql.Timestamp updateTime;
  @TableField("remark")
  private String remark;


}
